import { defineStore } from "pinia"

export default defineStore("userInfo", {
    state: () => {
        return {
            name: "我是送你一朵小红花170",
            age: 25,
        }
    },
    getters: {
        newName():string {
            return `这是getter修饰过的名称  ${this.name}`
        }
    },
    actions: {

    },
})
